Repository navigation
[clearpath_manipulators_description] Removed Sensors system from Kinova Gen3 descriptions - #428
Merged
tonybaltovski merged 1 commit intoNov 30, 2026
Conversation
…va Gen3 descriptions. The world already loads the Sensors system. Loading a second one from the robot model crashes Gazebo when it starts rendering sensors. The wrist camera sensor is kept and is served by the world's Sensors system. Fixes clearpathrobotics#400
andyhetianjun
requested review from
luis-camero,
mibrahim-cpr,
nnarain-cpr and
tonybaltovski
and removed request for
a team
November 26, 2026 22:03
|
This pull request is merged. |
luis-camero
approved these changes
Nov 30, 2026
tonybaltovski
merged commit Nov 30, 2026
def591d
into
clearpathrobotics:jazzy
11 of 12 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When
is_simis true,kinova_gen3_6dof.urdf.xacroandkinova_gen3_7dof.urdf.xacroadd theignition::gazebo::systems::Sensorsplugin to the robot model. All of theclearpath_gzworlds already load the Sensors system at the world level, so with a Kinova arm on the robot Gazebo ends up running two of them, and it segfaults once the render thread starts (the "already exists" errors and crash in #400).This PR removes that
<gazebo><plugin .../></gazebo>block from both files. The wristrgbd_camerasensor stays as it is, and the world's Sensors system picks it up the same way it does for the lidars and cameras inclearpath_sensors_description. The A200 description had the same plugin removed back in 2023 ("Jackal sim support"), so this follows that.The issue was reported on Humble. I based this on
jazzyas CONTRIBUTING asks, and the same patch applies cleanly tohumble, so it could get thebackport-humblelabel if that works for you.Related issue
Fixes #400
Type of change
How has this been tested?
I don't have ROS or Gazebo on my machine, so I checked it at the URDF level instead of in the simulator. There are no tests for the manipulator xacros in this repo, so I didn't add one.
I made a small wrapper xacro that includes
kinova_gen3_6dof(or7dof) and ahokuyo_ust, ran it throughxacro(2.1.1 from pip) withis_sim:=true use_manipulation_controllers:=true, and counted thesystems::Sensorsplugins in the output:camera_sensorrgbd sensor and the lidar sensor are still in the output.is_sim:=falsethe output has no Sensors system before or after.I ran the same check on
humblewith the patch applied (I pointed$(find kortex_description)at a dummy directory, since only mesh paths use it) and got the same before and after results.pre-commit runpasses on the two changed files. I couldn't runcolcon build/colcon testor try it in Gazebo myself. The issue author already confirmed withign gazebo -sthat the crash goes away with only one Sensors system loaded.One thing I noticed but didn't touch: on
jazzy,axis_q62.urdf.xacroandaxis_dome_fixed.urdf.xacroalso add agz::sim::systems::Sensorsplugin to the model. I didn't test whether that causes the same problem, so I left them alone.Checklist
colcon build) (not run, no ROS install)colcon test) (not run, no ROS install)